package com.realbrand.net.realbrandpay.base;

import android.view.KeyEvent;
import android.view.View;
import android.widget.Toast;

/**
 * Created by Administrator on 2018/10/9.
 */

public class FirstActivity extends BaseActivity {
    @Override
    protected int getLayoutId() {
        return 0;
    }

    @Override
    protected void setOnClick() {

    }

    @Override
    public void onClick(View v) {

    }
    public boolean onKeyDown(int keyCode, KeyEvent event) {
        if (keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_DOWN) {
            moveTaskToBack(true);
            return true;
        }
        return super.onKeyDown(keyCode, event);
    }
}
